package com.dnndo.system.domain.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;
@EqualsAndHashCode(callSuper = true)
@Data
//根据新闻id获取新闻的详细信息接口VO中文
public class CampusNewsInfoVOZH extends CampusNewsInfoVO{
    private Integer newsId; //新闻id
    private String newsTitle; //新闻标题
    private String schoolName; //学校名称
    private String content; //新闻内容
    private String newsUrl; //新闻链接
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt; //创建时间
    private List<CampusNewsInfoVOZHOtherNewsVOZH> otherNews; //其他新闻列表
}
